<%-- 
    Document   : listar
    Created on : 28/09/2013, 08:26:49 PM
    Author     : Daniel
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>listado de vehiculos</title>
    </head>
    <body>
        <h1>listado de vehiculos</h1>
        <table border=1 align="center" width="80%">
            <tr>
                <th>idvehiculo</th>
                <th>Año</th> 
                <th>Color</th>
                <th>Marca</th>
            </tr>
            <c:forEach items="${vehiculo}" var="t" >
                <tr>
                    <td>${t.idvehiculo}</td>
                    <td>${t.año}</td>
                    <td>${t.color}</td>
                    <td><a href="ControladorBasico?op=eliminar&codigo=${t.marca}">Eliminar</a> </td>
                </tr>
            </c:forEach>
        </table>
        <a href="inicio.jsp" >inicio</a>
    </body>
</html>
